﻿using System;
using System.Reflection;

namespace Td.Additional.Xml
{
    internal class XmlObjectInfo
    {
        internal Type ObjectType;

        internal Object ObjectContainer;

        internal String ObjectId;

        internal PropertyInfo ContainerProperty;

        public XmlObjectInfo(Type objectType, Object objectContainer, String objectId, PropertyInfo containerProperty)
        {
            ObjectType = objectType;
            ObjectContainer = objectContainer;
            ObjectId = objectId;
            ContainerProperty = containerProperty;
        }
    }
}